<div class="container-fluid">
    <h3 style="color:#8C525B;border-bottom:1px solid #F1F1F1;padding-bottom:10px;padding-left:10px;">客户信息</h3>
    <h4 class="main_panel_notice">欢迎你，
        <i><?php echo $_SESSION['admin_post'];?></i>-
        <b><?php echo $_SESSION['admin'];?></b>,现在是
        <b><?php echo $year?></b>年
        <b><?php echo $month?></b>月
        <b><?php echo $day?></b>日
        <b><?php echo $hour?></b>时
        <b><?php echo $min?></b>分
        <b><?php echo $second?></b>秒
    </h4>
    <div class="row">
        <div class="col-lg-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">
                        关怀提醒
                    </h4>
                </div>
                <div class="panel-body">
                    <table class="table table-bordered">
                        <tr>
                            <th>关怀主题</th>
                            <th>关怀时间</th>
                            <th>关怀对象</th>
                        </tr>
                        <?php if(isset($careArr)):?>
                        <?php foreach($careArr as $v):?>
                        <tr>
                            <td><?php echo $v['ccare_theme']?></td>
                            <td><?php echo $v['ccare_nexttime']?></td>
                            <td><?php echo $v['c_name']?></td>
                        </tr>
                        <?php endforeach;?>
                        <?php endif;?>
                    </table>
                </div>
            </div>
        </div>
        <div class="col-lg-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">联系提醒</h4>
                </div>
                <div class="panel-body">
                    <table class="table table-bordered">
                        <tr>
                            <th>联系主题</th>
                            <th>联系方式</th>
                            <th>联系时间</th>
                            <th>联系对象</th>
                        </tr>
                        <?php if(isset($relationArr)):?>
                        <?php foreach($relationArr as $v):?>
                        <tr>
                            <td><?php echo $v['r_contheme']?></td>
                            <td><?php echo $v['r_contype']?></td>
                            <td><?php echo $v['r_nextcontime']?></td>
                            <td><?php echo $v['c_name']?></td>
                        </tr>
                        <?php endforeach;?>
                        <?php endif;?>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-7">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">公告提醒</h4>
                </div>
                <div class="panel-body">
                    <table class="table table-bordered">
                        <tr>
                            <th>公告主题</th>
                            <th>公告内容</th>
                            <th>发布时间</th>
                            <th>公告人</th>
                        </tr>
                        <?php if(isset($noticeArr)):?>
                        <?php foreach($noticeArr as $v):?>
                        <tr>
                            <td><?php echo $v['n_theme']?></td>
                            <td><?php echo $v['n_content']?></td>
                            <td><?php echo $v['n_time']?></td>
                            <td><?php echo $v['admin_name']?></td>
                        </tr>
                        <?php endforeach;?>
                        <?php endif;?>
                    </table>
                </div>
            </div>
        </div>
        <div class="col-lg-5">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">生日提醒</h4>
                </div>
                <div class="panel-body">
                    <table class="table table-bordered">
                        <tr>
                            <th>生日客户</th>
                            <th>生日时间</th>
                            <th>手机号码</th>
                            <th>客户状态</th>
                        </tr>
                        <?php if(isset($birthArr)):?>
                        <?php foreach($birthArr as $v):?>
                        <tr>
                            <td><?php echo $v['c_name']?></td>
                            <td><?php echo $v['c_birthday']?></td>
                            <td><?php echo $v['c_tel']?></td>
                            <td><?php echo $v['ctype_info']?></td>
                        </tr>
                        <?php endforeach;?>
                        <?php endif;?>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>